﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FCold.aspx.cs" Inherits="MaluJg.web.Stats02.financial.FCold" %>

<%@ Register Src="~/Stats/yearselect.ascx" TagName="yearselect" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="Style/CSS/css.css" rel="stylesheet" type="text/css" />
    <link href="Style/CSS/style.css" type="text/css" rel="Stylesheet" />

    <script type="text/javascript" src="../../Scripts/jquery.js"></script>

    <script type="text/javascript" src="../../Scripts/common.js"></script>

    <script type="text/javascript" src="../../DatePicker/WdatePicker.js"></script>

</head>
<body>
    <form id="form1" runat="server">
     <div style=" float:right;"><a href="Index.aspx?year=<%=Year %>&vid=<%#Eval("VillageID") %>"  style=" font-size:14px; color:Red; font-weight:bolder;">返回上一级</a>
   </div>
    <uc1:yearselect runat="server" ID="yearselect1" IsShow="true"></uc1:yearselect>
    <table cellspacing="0" cellpadding="0" border="0" align="center" class="" width="100%">
        <tr>
            <td align="center">
                <span class="t">
                    <%=Year %><asp:Literal runat="server" ID="ltlHeader"></asp:Literal></span>
            </td>
        </tr>
    </table>
    <div id="divWhole" runat="server">
        <table class="Grids" align="center" cellspacing="1" cellpadding="1" width="100%"
            border="0">
            <tbody>
                <tr>
                    <td width="10%" align="center">
                        序号
                    </td>
                    <td width="25%" align="center">
                        村别/单位
                    </td>
                    <td width="20%" align="center">
                        冷库租用天数
                    </td>
                    <td width="15%" align="center">
                        补贴总额（元）
                    </td>
                </tr>
                <asp:Repeater runat="server" ID="rpWhole">
                    <ItemTemplate>
                        <tr>
                            <td>
                                <%# Container.ItemIndex + 1 %>
                            </td>
                            <td>
                                <a href="FCold.aspx?year=<%=Year %>&vid=<%#Eval("VillageID") %>">
                                    <%#Eval("VillageName")%></a>
                            </td>
                            <td>
                                <%#Eval("Days")%>
                            </td>
                            <td>
                                <%#Eval("Rent")%>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
                <tr>
                    <td colspan="2">
                        合计
                    </td>
                    <td>
                        <asp:Literal runat="server" ID="sum1"></asp:Literal>
                    </td>
                    <td>
                        <asp:Literal runat="server" ID="sum2"></asp:Literal>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <div id="divSingle" runat="server">
        <table class="Grids" align="center" cellspacing="1" cellpadding="1" width="100%"
            border="0">
            <tbody>
                <tr>
                    <td width="13%" align="center">
                        序号
                    </td>
                    <td width="22%" align="center">
                        租户姓名
                    </td>
                    <td width="13%" align="center">
                        是否是合作社社员
                    </td>
                    <td width="13%" align="center">
                        冷库租用天数
                    </td>
                    <td width="13%" align="center">
                        租金总额（100元/天）
                    </td>
                    <td width="13%" align="center">
                        补贴总额（元）
                    </td>
                </tr>
                <asp:Repeater runat="server" ID="rpSingle">
                    <ItemTemplate>
                        <tr>
                            <td>
                                <%# Container.ItemIndex + 1 %>
                            </td>
                            <td>
                                <%#Eval("FamilyName")%>
                            </td>
                            <td>
                                <%#Eval("IsPartner")%>
                            </td>
                            <td>
                                <%#Eval("Days")%>
                            </td>
                            <td>
                                <%#Eval("YingRent")%>
                            </td>
                            <td>
                                <%#Eval("Rent")%>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
                <tr>
                    <td colspan="3">
                        合计
                    </td>
                    <td>
                        <asp:Literal runat="server" ID="sum7"></asp:Literal>
                    </td>
                    <td>
                        <asp:Literal runat="server" ID="sum8"></asp:Literal>
                    </td>
                    <td>
                        <asp:Literal runat="server" ID="sum9"></asp:Literal>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>

    <script type="text/javascript">
        $("#a<%=Year %>").css("color", "red").css("font-weight", "bold");
 
    </script>

    </form>
</body>
</html>
